import fileinput
from dateutil import parser

for line in fileinput.input():
  a = line.split(' ')
  date = parser.parse('%s %s' % (a[5], a[6]))
  # Bitfinex fill
  q = float(a[10])
  w = float(a[11])
  e = float(a[12])
  r = float(a[13])
  t = float(a[14])
  y = float(a[15])
  u = float(a[16])
  i = float(a[17])
  print('%s\t%f\t%f\t%f\t%s\t%s\t%s\t%s\t%s' % (date, q, w, e, r, t, y, u, i))
